<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@include file="/WEB-INF/views/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<jsp:include page="css-javascript.jsp"></jsp:include>
</head>
<body>
	<fieldset> <legend>Registro de Persona</legend>
		<center><br>
		<fieldset style="width: 678px; "><legend>Datos Personales</legend>
			<div id="registroPersonas">
				<form action="registarPersona.do" method="post" style="top: auto; width: 546px; background-color:orange;" >
					<h3>Persona</h3>
					<table>
						<tr>
							<td>Dni:</td>
							<td><input name="txtDni">
							</td>
						</tr>
						<tr>
							<td>Nombre:</td>
							<td><input name="txtNombre">
							</td>
						</tr>
						<tr>
							<td>Apellidos:</td>
							<td><input name="txtApellidos">
							</td>
						</tr>
						<tr>
							<td>Fecha Nacimineto:</td>
							<td>
								<table>
									<tr>
										<td><select name="txtDia">
  												<option value="volvo">dia</option>
								  				<script type="text/javascript">
													var k;
													for(k=1;k<=31;k++){ 
														document.write("<option value="+k+">"+k+"</option>");
													}
												</script>
											</select>
										</td>
										<td>
											<select name="txtMes">
  												<option value="volvo">mes</option>
								  				<script type="text/javascript">
								  					var m;
								  					for(m=1;m<=12;m++){
								  						document.write("<option value="+m+">"+m+"</option>");
								  					}
								  				</script>
											</select>	
										</td>
										<td>
											<select name="txtAnio">
  												<option value="volvo">anio</option>
								  				<script language="javascript" type="text/javascript">
													var k;
													for(k=1970;k<=2013;k++)
													{ document.write("<option value="+k+">"+k+"</option>");
													}
												</script>
											</select>
										</td>
									</tr>
								</table>
								
							</td>
						</tr>
						<tr>
							<td>Nro Telefono:</td>
							<td><input name="txtTelefono">
							</td>
						</tr>
					</table>
					<br>
					<h3>Vivienda</h3>
					<table>
						<tr>
							<td>Tipo Vivienda:</td>
							<td>
								<select name="txtTipoVivienda">
  									<option value="01">Matrial Noble</option>
  									<option value="02">Madera</option>
  									<option value="03">Estera</option>
								  	
								</select>
							</td>
						</tr>
						<tr>
							<td>Mantenimiento:</td>
							<td>
								<select name="txtMantenimiento">
  									<option value="volvo">elija - estado</option>
								  	<option value="si">Si</option>
								  	<option value="no">No</option>
								</select>
							</td>
						</tr>
						<tr>
							<td>Nro vivienda:</td>
							<td><input name="txtNroVivienda">
							</td>
						</tr>
						<tr>
							<td>Calle:</td>
							<td><input name="txtCalle">
							</td>
						</tr>
						<tr>
							<td>Superficie:</td>
							<td><input name="txtSuperficie">
							</td>
						</tr>
						<tr>
							<td>Alquiler:</td>
							<td><select name="txtAlquiler">
  									<option value="volvo">elija - estado</option>
								  	<option value="si">Si</option>
								  	<option value="no">No</option>
								</select>
							</td>
						</tr>	
					</table>
					<br>
					<h3>Barrio</h3>
					<table>
						<tr>
							<td>Descripcion:</td>
							<td><input name="txtDescripcion">
							</td>
						</tr>
					</table>
					<h3>Ciudad</h3>
					<table>
						<tr>
							<td>Nombre ciudad:</td>
							<td><input name="txtNombreCiudad">
							</td>
						</tr>
						<tr>
							<td>Distancia:</td>
							<td><input name="txtDistancia">
							</td>
						</tr>
						<tr>
							<td>Nro Habitantes:</td>
							<td><input name="txtHabitantes">
							</td>
						</tr>
						<tr>
							<td></td>
							<td><br><input name="botonEnviar" type="submit" value="Enviar">
							</td>
						</tr>
			
					</table>
				</form>
			</div>
		</fieldset>
</body>
</html>